package com.zuoban.sms.api.impl;

import com.zuoban.sms.api.SmsApi;
import com.zuoban.sms.service.SmsService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;


@Service
@RequiredArgsConstructor
public class SmsApiImpl implements SmsApi {

    private final SmsService smsService;
    @Override
    public void send(Map<String, Object> params, String phone) {

        smsService.send(params,phone);
    }
}
